﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="CCList.aspx.cs" Inherits="EWMSWeb.Hardware.CCList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
        <style type="text/css">
        .style1
        {
            height: 12px;
        }
    </style>
    <script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {


            $('#tab').dataTable({ "oLanguage":
                 { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 20,
                "bSort": true,
                "aaSorting": [[0, "desc"]]
            });







        });

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <div id="Add">
  <li>
    
    <span>姓名</span><input id="txtName" runat="server" />
   
    <span>邮箱</span><input id="txtEmail" runat="server" />
   <span>说明</span><input id="txtRemark" runat="server" />
      <asp:Button ID="btnSave" runat="server" Text="保存" 
          onclick="btnSave_Click" />
   
  </li>
</div>
<div class="shadow4">
    <table id="tab" style="width:100%">
    <thead>
        <tr>
            <th class="style1">序号</th>
            <th class="style1">姓名</th>
            <th class="style1">联系邮箱</th>
            <th class="style1">说明</th>
            <th class="style1">操作</th>
        </tr>
   </thead>
   <asp:Repeater runat="server" ID="rept">
   <ItemTemplate>
        <tr>
            <td><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("name")%></td>
            <td><%# Eval("email")%></td>
            <td><%# Eval("remark")%></td>
            <td><a href="javascript:void(0)" onclick="del(<%# Eval("id") %>">删除</a></td>
        </tr>
    </ItemTemplate>
    </asp:Repeater>
    </table>
</div>
</asp:Content>
